home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48_1
/
rle_view
< prev
next >
Wrap
Text File
|
1995-03-31
|
11KB
|
185 lines
From aurs01!aurw90!gingell@mcnc.org Wed Jun 12 17:49:20 1991
Subject: HP48S/SX RLE image viewer & decoder by Bob Scott.
-------------------------------------------------
This is an RLE image viewer/decoder for the HP-48 family of calculators.
Both high and medium res images are supported. A sample image is included.
Note: RLE = Run Length Encoded. A large database of RLE files can be found
on Compuserve in their QPICS forum (GO QPICS).
files follow: RLE.DOC the documentation & RLE.HP (uuencoded) the program.
------------------------------------------------------------------------
The file RLE.HP is an HP-48 directory object containing an RLE (RUN
LENGTH ENCODED) image decoder for the HP 48.
Use:
Transfer the directory to the 48. Place an RLE image (string) on level
one of the stack and press the softkey for the program RUN. One sample
image is included in the package as the variable "WX", which is a Compu-
Serve high resolution weather map. To view this image, press WX (recalls
string to stack) then RUN (envokes viewer). WX can be deleted when you're
through playing with it.
When the program finishes, it beeps and drops you into the graphics view
mode. Use the arrow keys to pan around the image and the "-" key to shut
off the menu keys (giving a larger image size).
Pressing the softkey labeled "CLR" will tidy up by erasing the program's
temporary copy of the RLE string and clearing PICT. This is not done
automatically to allow you view the image later using the left-shift GRAPH
function. The image can be printed on the HP thermal printer by recalling
PICT to the stack (e.g. type PICT then press RCL) and pressing PR1.
The program takes about five minutes for a high res image, less for medium
res. It searches for the the RLE start sequence ( <ESC>GH or <ESC>GM ) and
begins from there, so it's okay if there is some garbage at the beginning
of the file. The end sequence is similarly located, but some images do not
adhere to the RLE standard and leave this flag out. As a fail-safe, the
program appends a stop sequence to the RLE string before processing.
Consequently, garbage at the end of a file may be a problem if the RLE image
isn't properly terminated.
Where do you get images? Weather maps can be captured from CIS and countless
images can be downloaded from the QPICS forum (GO QPICS). I use a terminal
program on the 48 that allows both capture of incoming text and Kermit
up and downloads. (I'd post it, but it's hideously slow. Except for KERMIT
transfers, it only processes at about 600 bps. Praise be to ^Q/^S!)
Enjoy. The usual disclaimers apply. If your 48 explodes, your Smith
Corona memory card melts down or you crash your car into a bus load of
nuns while playing with this on the freeway, it's your problem. Your
purchase price will be cheerfully refunded however!
Bob Scott 73125,1437
-----------------------------------------------------------------------
begin 644 RLE.HP
M2%!(4#0X+466*O!_OB@````"5U@"+"K0Z@$-"F-H87)A8W1E<G,N#0H;1T@@
M?B!^(&4E*R$E(RPA)"4C(R,A(B$L(20E(R,D(R0C)",C)3`D)",C(R4C(R1[
M(2HA(R(D(2,A*B(D(28A(R$B(2(A*R(H(2(A(R$B(2,A(B$C(2(A(R$D(3(A
M(R$B(2,A(B$B(2,A(R$B(2,A>B$I(24A)R$L(20A*B$B(2(A+"$H(28A(B$B
M(B(A(R$C(2<A,B$C(2(A(R$B(2,A(B$C(2(A(R%[(R4A)B$F(2TA)2,E(B,E
M(B4D(2<A)2(C(2$A(2$B)20A)B$R)",E(B$C(2(E(B1^("$A(R$G(24A+B$H
M(28A)2$L(28A*"$B(B(A(B$C(24A)2$R(2$A)"$C(2(A(R$B(2,A(B$A(7X@
M(B$B(2@A)"$O(2@A(B$C(24A+"$E(24A(R$B(2,A(B$C(2(A(R$D(3(A(B$C
M(2,A(B$B(2,A(R$B(2(A>R0K(R,E*B,C)"0C)B$K(R,A)R,D(R,A(R$C(R4A
M,B$C(2(A(R$B(R0A(R$B(2,A?B!^('X@?B!^('X@?B!^('X@?B!^('X@?B!^
M('X@?B!^('X@?B!^('X@?B!^('X@?B!^('X@8"$A(WX@?B!<)"0A?B!^(%LA
M*"%^('X@6R$H(7X@?B!:(2@B?B!^(%DA*B-^('X@5B$M(GX@?B!5(2PA?B!^
M(%8A*R%^('X@5R$K(7X@?B!7(2HA?B!^(%@A*B%^('X@6"$I(7X@?B!9(2@A
M?B!^(%HA*"%^('X@6"0F(7X@?B!8(2(A(2$E(7X@?B!5(R,A(B(C(7X@?B!3
M(R4A(R$C(6\B?B!@(2(A)"$D(2(A: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?B!9(2DA:R9^
M(&<A*2%^('X@62(H(6HD?B!K)2(B?B!^(&`B?B!^('X@?B!^('X@?B!^('X@
M?B!>*'X@?B!^('X@?B!&)GX@?B!^('X@?B!((GX@?B!^('X@?B!*(GX@?B!^
M('X@?B!*(GX@?B!^('X@?B!&(GX@?B!^('X@?B!^('X@?B!^('X@?B!^('X@
M?B!^('X@?B!^('X@?B!*!QM'3@H*"D1I<W!L87D@36%P#0H@("TM+4AI9V@@
M4F5S;VQU=&EO;BTM+0T*(#$@16YT:7)E(%4N4RX@*@T*"B`@("TM+4UE9&EU
M;2!297-O;'5T:6]N+2TM#0H@,B!.;W)T:"!%87-T("H-"B"Z'D`@Q31%1<"B
M`@D`L'&D`0`$4DQ%3@0L*K```!M'3AP`0)`U5"5%X*0""0!0`:`!``180U52
M!$XJD```:@`:`%`@-44E154PDP(`````````!",`0"!5Y$1$,),"!`````!P
M!P$A`$"0U12$1>"D`A4`\`L```````!@`@`$6$U!6`1.*E`!`/\`````````
M)@!```45)$5`IP)W*0````````!E"0```````#%YEP(```````!0!@``````
M`"`#'*M$*RHJJQ1F'EFKM!(#>0!`(#54)47@I`(5`!``````````8`(`!%1/
M1T8$G2W@82/#+G*X'Q/#H>\BU<)1^R)TPE'](CDVLA(#2`!@(%5$5#549-#9
M`AXV8K0<,RD0````````,I#0&CDVLA(#0P!0(`7%1"53T-D"'C;"A1Q(+F`@
M5414-51TN!_#+D(K*IOMH>\BG2UPN!_#+D(K*G+IH>\BV/M1^R*=+;!I&50V
M@N0"!%)#55)Y-M+,(,,NDBPJ8,.A[R*=+8#D`@120U522"Y`@#54)76V&L,N
M@N0"!%A-05A=[*'O(ITM@.0"!%A#55)(+D"0-50EY2TJ@\>!Y`($6$U!6$@N
M0)`U5"7E+2J#QX$Y'DXJ4`$```````````!(+D"0-50EE2PJ9ZMQN!]4-H+D
M`@190U52>3;2S"#>HC)X'$@N0"`U5"6%Y`($6$-54F>K@>0"!%A-05@)K9$L
M*@FM<;@?5#:"Y`($6$-54GDVTLP@R:*2T!I(+D"0-50EY2TJ@\>!.1XK,5#[
M(ITM@.0"!%A#55)(+D"0-50EY2TJ@\>!Y`($6$-54D@N0"`U5"5UMAJ'^T%E
M(T@N0(`U5"659R/-#)(L*@FM@>0"!%E#55+>HC)X')CCL1(#U2^R$@.U+]+9
M`D@N0(`U5"6%Y`($4D-54F>K<;@?PRZ"Y`($6$U!6%WLH>\BG2V`Y`($6$U!
M6`FMD2PJ":U!92-(+D"`-50EE6<CS0R2+"I4-H+D`@190U52>3:R1"`K,5#[
M(ITM0&4C2"Y`@#54)95G(\T,LA(#U2^R$@/5+[(2`]4OLA(#M2_2V0+8^Y$L
M*D@N0$#U=&2T$@/5+Y)C(RLQ@$(`!%!215`$G2W@82-.*E`!````````````
MA_OAI`(5`!``````````D-`:5#:"Y`($6$-54GDVTLP@5#:"Y`($64-54GDV
MTLP@R:)2+1Q(+C`@Q52$Y`($4DQ35+3*,2\J9ZM!92-(+E`@-44E195G(\T,
M@N0"`U),14@N0"#%5.1$JQS)HI+0&E0V@N0"!%)%3D1Y-M+,($@N,"#%5(3D
M`@524U125,FBDM`:A_O!A1S#+L*B`@<`@"27'OHNTMD"3BI0`0#_````````
M`$XJ4`$`OP````````!.*E`!```!````````3BI0`0#``````````"LQ4/LB
MG2W@I`(5`/`'````````X*0"%0#P!0```````."D`A4```@```````#@I`(5
M```&````````L!(#U2\2(!Y4-H+D`@1934%8>3;2S"!4-H+D`@1834%8>3;2
MS"!?XI%C(RLQD"L``U),10,L*E```!0`,##$)#70V0(>-N*D`A4`,`@`````
M``#@I`(5```$````````$"`>7^+!H@(%`$!E(T@N,"#%5)1G(\T,DBPJU<*1
M8R,K,<`(``-254X#G2W@82,9QA%,(VTN$F82,S*1`````````64%P<2"Y`
M(,54Y'2V&E0V@N0"`U),17DVTLP@2"Y``"55!#7L(D@N4"`U125%-2\J_.RA
M[R*=+<"B`A,`X/1$!2+%5(2%&O.B0E@:*S%0^R*=+4"G`DXJ4`$`````````
M``!.*E`!````````````*S$`+QY(+E`@-44E187D`@1214Y$H#'2Y@(%4$])
M3E1(+C`@Q534Y@(%4$])3E2'^X'D`@524$Q4,LFB@N0"!%1/1T9,,C*3`@,`
M```````!,RF0F0``````4$!<&LFB4BT<NN*Q$@/5+]+F`@%F?\;A7R,Y-K(2
!`[(2
`
end